package com.rd.student.jiaji.class4.suyan.zrrd.day12;

public class Weekday {
    public static final int SUN=0;
    public static final int MON=1;
    public static final int TUE=2;
    public static final int WED=3;
    public static final int THU=4;
    public static final int FRI=5;
    public static final int SAT=6;

    public static void main(String[] args) {
        int day=4;
       /* if (day==SUN){

        }else if (day==MON){

        }

        */
        switch (day){
            case SUN:
            case MON:
        }
        //直接使用常量，需要进行类型的判断已经范围的判断等等
    }
}
